package org.jsbd.boss.dao.impl;

import java.util.List;
import java.util.Map;

import org.jsbd.boss.dao.IExtractingDataDao;
import org.springframework.stereotype.Repository;

@Repository("extractingDataDao")
public class ExtractingDataDaoImpl extends WebmengLogBaseDao implements IExtractingDataDao{

	/*@Override
	public String getDbByTableName(String tableName) {
		return (String) super.queryForObject("exctract_data_config.select_db_by_table_name", tableName);
	}*/

	@SuppressWarnings("unchecked")
	@Override
	public List<Map<String, Object>> getTablesDatas(Map<String, Object> param) {
		return super.queryForList("exctract_data_config.select_data_by_table_name", param);
	}

	@Override
	public Integer getTablesDatasCount(Map<String, Object> param) {
		return super.queryForCount("exctract_data_config.select_data_by_table_name_count", param);
	}

}
